home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 13554 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.0 KB

  1. Path: cpsc.ucalgary.ca!yuzwa
  2. From: yuzwa@cpsc.ucalgary.ca (Erik Yuzwa)
  3. Newsgroups: comp.lang.c++
  4. Subject: UGENT! Help on iostreams!
  5. Date: 26 Mar 1996 02:29:10 GMT
  6. Organization: University of Calgary CPSC
  7. Message-ID: <4j7kpm$lpv@linux.cpsc.ucalgary.ca>
  8. NNTP-Posting-Host: fsf.cpsc.ucalgary.ca
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. I'm just doing some programming for an assignment in C++, and
  12. I want to know if there's a FAQ (or if anyone knows anything) on using 
  13. the ios class.
  14.  
  15. I'm trying to pass a file into functions, the only thing that compiles 
  16. for me so far, is:
  17.  
  18.   ifstream infile("INFILE.TXT");
  19. .
  20. .
  21. .
  22. (then when I pass it to another function..)
  23. int Get_System_File(ifstream& infile)
  24.  
  25. please email me if anyone knows anything about it (or where I can find some
  26. help)....
  27.  
  28. Thank you very much.
  29. erik
  30.  
  31.  
  32. --
  33. |...............YUZWA@CPSC.UCALGARY.CA.............................|
  34. |"..The poor devil must've scrolled it in his deathroes using a
  35.   combination of his own blood, and even his own intestinal tract."
  36.  "Who would do that?"
  37.  "Someone who BADLY needed a pen."
  38.   
  39.